// JavaScript Document

 /*window.TOOLS.Cretry=function(condition,fn,waitTime){
    this.doCount = 0 ;
	this.waitTime =waitTime ;
	this.fn = fn;
	this.ok =false;
	if(condition){
		try{
		this.ok =true;
	    fn();	
		
		}catch(e){
		this.doCount++;
		this.ok =false;
		window.setTimeout(fn,waitTime);
		console.warn('错误次数:'+this.doCount+'出错即将重试！');	
	 
		console.warn(fn+'重试ed');		
		}
	}else{
		console.warn('错误次数:'+this.doCount+'条件不符即将重试fn！');	
		console.warn(fn+'重试ed');	
	     window.setTimeout(fn,waitTime);
		 console.warn(fn+'重试了');	
	}
	return this;
} */
//